@w-code-preview: ~"w-code-preview";

.@{w-code-preview} {
  &-thirdparty + &-thirdparty {
    margin-left: 10px;
  }
  &-thirdparty {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    line-height: 1;
    z-index: 2;
    right: 0;
    top: -23px;
    form {
      display: block;
    }
    form + form {
      margin-right: 5px;
    }
    button {
      border: 0;
      outline: 0;
      cursor: pointer;
      padding: 3px 4px 3px 4px;
      border-radius: 3px;
      transition: color .3s;
      color: rgba(0, 0, 0, .45);
      &:hover {
        color: rgba(0, 0, 0, .85);
      }
      svg {
        fill: currentColor;
      }
      svg:not(:root) {
        overflow: hidden;
      }
    }
  }
}